package org.csu.mypetstore.persistence;

import org.csu.mypetstore.domain.AlipayTransaction;
import org.springframework.stereotype.Repository;

@Repository
public interface AlipayTransactionMapper {
    void insertTransaction( AlipayTransaction transaction );

    AlipayTransaction getTransactionByOutTradeNo( AlipayTransaction transaction );

    AlipayTransaction getTransactionByAlipayTradeNo( AlipayTransaction transaction );

    void updateTransaction( AlipayTransaction transaction );


}
